package com.freesky.web.manager.remote.panel.fallback;

import com.freesky.common.dao.entity.PanelContent;
import com.freesky.common.pojo.DataTablesResult;
import com.freesky.common.pojo.ZTreeNode;
import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.web.manager.remote.panel.HomePanelContentRemote;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class HomePanelContentRemoteFallback implements HomePanelContentRemote {

    @Override
    public List<ZTreeNode> treeList() {
        log.error("服务维护中");
        return null;
    }

    @Override
    public DataTablesResult list(int panelId) {
        log.error("服务维护中");
        return null;
    }

    @Override
    public JSONResponse add(PanelContent panelContent) {
        log.error("首页版块内容服务维护中");
        return null;
    }

    @Override
    public JSONResponse delete(int[] ids) {
        log.error("服务维护中");
        return null;
    }

    @Override
    public JSONResponse update(PanelContent panelContent) {
        log.error("服务维护中");
        return null;
    }

}
